package com.ctakit.sdk.app.widget.tab.home;

import android.os.Bundle;
import android.view.View;

/**
 * Created by naite.zhou on 16/5/11.
 */
public interface IHomeTabLayout<FragmentType extends HomeTabFragment> {
    void refresh();

    View getChildByIndex(int index);

    void setCurrent(int position, Bundle bundle) ;

    int getItemCount();

    void setOnTabSelectedListener(HomeTabLayout.OnTabSelectedListener lis);

    HomeTabLayout.OnTabSelectedListener getOnTabSelectedListener();

    Class<FragmentType> getTabFragmentClass(int position);
}
